package com.zoweunion.mechanic.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.excel.annotation.ExcelCollection;
import lombok.*;

import java.util.List;

@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Data
@ToString
@Builder(toBuilder=true)
public class CarsLockRecordEntity implements java.io.Serializable {

    private String id;

    @Excel(name = "车主姓名",needMerge = true)
    private String userName;//车主姓名

    @Excel(name = "车主电话",needMerge = true)
    private String mobile_phone;//车主电话

    @Excel(name = "车主状态",needMerge = true,replace = {"启用_1","停用_2","待审核_3"})
    private int status;//车主状态

    @ExcelCollection(name = "司机")
    private List<DriverEntity> driverEntityList;



}
